package com.gilight.base.mapper;

import com.gilight.base.dto.CartDTO;
import com.gilight.base.model.CartDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rize on 2019/7/3.
 */
@Repository
public interface CartMapper extends IMapper<CartDO> {

    public int countCart(Long userId);

    public List<CartDTO> getCartList(Long userId);

}
